package com.atguigu.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ysjstart
 * @create 2021-03-24 10:29
 */
@Data
//课程一级分类
public class OneSubject {
    private String id;
    private String title;
    private List<TwoSubject> children = new ArrayList<>();//一个一级分类有多个二级分类
}
